package com.zuoye.dey01;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("dey11\\src\\com\\hongyue\\chushibiao\\Demo.java");
        FileOutputStream fos = new FileOutputStream("dey11\\src\\com\\zuoye\\dey01\\aaa.txt");
        for (int i; (i = fis.read()) != -1; ) {
            fos.write(i);
        }
        fis.close();
        fos.close();
    }
}
